#!/usr/bin/env bash

set -euo pipefail

echo "Running Azure SDK for Rust devcontainer post create script..."

echo "Updating toolchains..."
rustup install

echo "Installing test-proxy..."
dotnet tool update azure.sdk.tools.testproxy --global --prerelease --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json --ignore-failed-sources
